package com.disgnpattern.learn.chapter9.after;

import com.disgnpattern.learn.chapter9.after.Resume;

/**
 * @author dxy
 * @version 1.0
 * @date 12:48
 * @decripton 测试
 * @mail victorydeng@163.com
 */
public class AfterTest {
    public static void main(String[] args) throws CloneNotSupportedException {
        Resume resumeA = new Resume("张无忌");
        resumeA.setPersonalInfo("18","男");
        resumeA.setWorkExperience("533-537","武当派");

        Resume resumeB  = resumeA.clone();
        resumeB.setWorkExperience("537-538", "波斯");

        Resume resumeC  = resumeA.clone();
        resumeC.setWorkExperience("536-539", "明教");

        resumeA.display();
        resumeB.display();
        resumeC.display();



    }
}
